package user

import "github.com/google/uuid"

// Repository 用户仓储接口 - 领域层定义
type Repository interface {
	FindByID(id uuid.UUID) (*User, error)
	FindByUsername(username string) (*User, error)
	Save(user *User) error
	Update(user *User) error
	//Delete(id uint) error
}
